#maincontent {background: #dae9f8 !important;}

.nhsuk-header--white .nhsuk-organisation-name {display: none !important;}
.nhsuk-header__container .nhsuk-header__logo {min-height: 120px;}
.nhsuk-header--organisation .nhsuk-header__logo .nhsuk-logo {height: 175px !important; width: 245px !important;}
.nhsuk-header--white .nhsuk-search__submit {background-color: #e97132 !important;}
.tasks-menu .nhsuk-card, .tasks-menu .nhsuk-card__content {background-color: #0393a1 !important;}
.nhsuk-footer-container {border-top: 4px solid #e97132;}
.nhsuk-header--white .nhsuk-navigation-container {background-color: #185ec9 !important;}
.nhsuk-header__navigation-link {font-size: 18px;}
h1, h2, h3, h4, h5, h6,
p, a, li, div,
.divTable {
  font-family: Calibri, Carlito, 'Segoe UI', Arial, sans-serif !important;
}

h1, h2, h3 {font-color: #3F758A !important;}

.nhsuk-header__container .nhsuk-organisation-descriptor.custom-text {font-size: 1.25em; font-family: Calibri, Carlito, 'Segoe UI', Arial, sans-serif !important;}


/* Surgery connect widgets */
:is(#ThirdPartyIntegrationComponent_30,
    #ThirdPartyIntegrationComponent_31,
    #ThirdPartyIntegrationComponent_32,
    #ThirdPartyIntegrationComponent_33,
    #ThirdPartyIntegrationComponent_34,
    #ThirdPartyIntegrationComponent_35) > div > div > div {
    width: 320px !important;
    height: 115px !important;
    padding-top: 10px !important;
    margin-top: 20px !important;
}

:is(#ThirdPartyIntegrationComponent_30,
    #ThirdPartyIntegrationComponent_31,
    #ThirdPartyIntegrationComponent_32,
    #ThirdPartyIntegrationComponent_33,
    #ThirdPartyIntegrationComponent_34,
    #ThirdPartyIntegrationComponent_35) > div > div > div > div:last-child {
    padding-top: 6px !important;
}


/* facebook logo */

/* Facebook icon in the header, to the left of the translate link */
footer ul.nhsuk-footer__list.social-media {
  position: absolute;
  top: 28px;
  left: auto;
  right: 58px; /* mobile: left of the translate icon */
  width: max-content;
  height: 24px;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  z-index: 10;
}
footer ul.nhsuk-footer__list.social-media .social-media-heading {
  display: none;
}
footer ul.nhsuk-footer__list.social-media li {
  margin: 0;
  padding: 0;
}
footer ul.nhsuk-footer__list.social-media a {
  display: flex;
  line-height: 0;
}
footer ul.nhsuk-footer__list.social-media svg {
  width: 32px;
  height: 32px;
  fill: #005eb8;
}
footer ul.nhsuk-footer__list.social-media a:hover svg {
  fill: #003087;
}
/* tablet: search box sits to the right of the translate icon */
@media (min-width: 40.0625em) {
  footer ul.nhsuk-footer__list.social-media { right: 334px; }
}
@media (min-width: 48.0625em) {
  footer ul.nhsuk-footer__list.social-media { right: 369px; }
}
/* 990px and up: "Language" label shows, header centred at 1170px */
@media (min-width: 990px) {
  footer ul.nhsuk-footer__list.social-media { right: max(456px, calc(50% - 161px)); }
}


